#pragma once

#include "Projectile.h"

class Weapon : public GameObject
{
	WeaponType type;
	Player *wielder;
	float timeSinceFire;
	float fireDelay;
	bool canFire;
public:
	Weapon(WeaponType type_, Player* wielder_);
	std::vector<Projectile*> fireProjectile();
	void update(const float & timestep);
};